home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Games / PC-SIG World of Games (CDRM1080710) (1993).iso / SWMAG / DISK1382.ZIP / B_001200.ZIP / B_CRYPT.ZIP / COMPDOC.BAT < prev    next >
DOS Batch File  |  1989-08-01  |  1KB  |  50 lines

  1. echo off
  2. rem COMPDOC.BAT - Batch file for printing the b_CRYPT SDF files
  3. rem               that require compressed print.
  4. cls
  5. echo  
  6. echo COMPDOC (tm), b_CRYPT (tm) Documentation Printing Batch File.
  7. echo  
  8. echo (C) Copr. 1988-89, Stephen B. Hajducek.  All rights reserved.
  9. echo  
  10. echo Check your printer attached to [%1] at this point before continuing,
  11. echo  
  12. echo if nothing appears between the brackets [ ] above, press control break
  13. echo  
  14. echo and enter printer device as prn or lpt1: or com1: etc on command line.
  15. echo  
  16. pause
  17. cls
  18. echo Now printing files...
  19. if %1==prn goto start
  20. if %1==lpt1: goto start
  21. if %1==lpt2: goto start
  22. if %1==lpt3: goto start
  23. if %1==com1: goto start
  24. if %1==com2: goto start
  25. if %1==com3: goto start
  26. goto error
  27. :start
  28. echo >%1
  29. type b_crypt.cvr>%1
  30. echo  >%1
  31. type p_order.frm>%1
  32. echo  >%1
  33. type c_order.frm>%1
  34. echo >%1
  35. echo  >%1
  36. echo  
  37. echo All files have been sent to printer...
  38. goto end
  39. :error
  40. echo  
  41. echo  ERROR: Incorrect command line parameters.
  42. echo  
  43. echo  At command line enter device for printing files in lower case:
  44. echo  
  45. echo  Example - compdoc prn:   'For default LPT1 printer.
  46. echo            compdoc lpt2:  'For LPT2 parallel printer.
  47. echo            compdoc com1:  'For COM1 attached serial printer.
  48. :end
  49. echo on
  50.